Integrand size = 35, antiderivative size = 110 \[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\frac {2 \cot (e+f x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2+3 \sec (e+f x)}}{\sqrt {5} \sqrt {-4+5 \sec (e+f x)}}\right ),45\right ) (4-5 \sec (e+f x)) \sqrt {\frac {1-\sec (e+f x)}{4-5 \sec (e+f x)}} \sqrt {\frac {1+\sec (e+f x)}{4-5 \sec (e+f x)}}}{f} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {4069} \[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\frac {2 \cot (e+f x) (4-5 \sec (e+f x)) \sqrt {\frac {1-\sec (e+f x)}{4-5 \sec (e+f x)}} \sqrt {\frac {\sec (e+f x)+1}{4-5 \sec (e+f x)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {3 \sec (e+f x)+2}}{\sqrt {5} \sqrt {5 \sec (e+f x)-4}}\right ),45\right )}{f} \]
[In]
[Out]
Rule 4069
Rubi steps \begin{align*} \text {integral}& = \frac {2 \cot (e+f x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2+3 \sec (e+f x)}}{\sqrt {5} \sqrt {-4+5 \sec (e+f x)}}\right ),45\right ) (4-5 \sec (e+f x)) \sqrt {\frac {1-\sec (e+f x)}{4-5 \sec (e+f x)}} \sqrt {\frac {1+\sec (e+f x)}{4-5 \sec (e+f x)}}}{f} \\ \end{align*}
Time = 2.65 (sec) , antiderivative size = 176, normalized size of antiderivative = 1.60 \[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=-\frac {4 \sqrt {-\cot ^2\left (\frac {1}{2} (e+f x)\right )} \sqrt {-\left ((3+2 \cos (e+f x)) \csc ^2\left (\frac {1}{2} (e+f x)\right )\right )} \sqrt {-\left ((-5+4 \cos (e+f x)) \csc ^2\left (\frac {1}{2} (e+f x)\right )\right )} \csc (e+f x) \operatorname {EllipticF}\left (\arcsin \left (\sqrt {\frac {5}{22}} \sqrt {\frac {-5+4 \cos (e+f x)}{-1+\cos (e+f x)}}\right ),\frac {44}{45}\right ) \sec (e+f x) \sin ^4\left (\frac {1}{2} (e+f x)\right )}{3 \sqrt {5} f \sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 7.54 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.35
method | result | size |
default | \(-\frac {i \sqrt {5}\, \operatorname {EllipticF}\left (\frac {i \sqrt {5}\, \left (\cot \left (f x +e \right )-\csc \left (f x +e \right )\right )}{5}, 3 \sqrt {5}\right ) \sqrt {2+3 \sec \left (f x +e \right )}\, \sqrt {-4+5 \sec \left (f x +e \right )}\, \sqrt {-\frac {2 \left (4 \cos \left (f x +e \right )-5\right )}{\cos \left (f x +e \right )+1}}\, \sqrt {10}\, \sqrt {\frac {2 \cos \left (f x +e \right )+3}{\cos \left (f x +e \right )+1}}\, \left (\cos \left (f x +e \right )^{2}+\cos \left (f x +e \right )\right )}{5 f \left (8 \cos \left (f x +e \right )^{2}+2 \cos \left (f x +e \right )-15\right )}\) | \(148\) |
[In]
[Out]
\[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\int { \frac {\sec \left (f x + e\right )}{\sqrt {5 \, \sec \left (f x + e\right ) - 4} \sqrt {3 \, \sec \left (f x + e\right ) + 2}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\int \frac {\sec {\left (e + f x \right )}}{\sqrt {3 \sec {\left (e + f x \right )} + 2} \sqrt {5 \sec {\left (e + f x \right )} - 4}}\, dx \]
[In]
[Out]
\[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\int { \frac {\sec \left (f x + e\right )}{\sqrt {5 \, \sec \left (f x + e\right ) - 4} \sqrt {3 \, \sec \left (f x + e\right ) + 2}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\int { \frac {\sec \left (f x + e\right )}{\sqrt {5 \, \sec \left (f x + e\right ) - 4} \sqrt {3 \, \sec \left (f x + e\right ) + 2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sec (e+f x)}{\sqrt {2+3 \sec (e+f x)} \sqrt {-4+5 \sec (e+f x)}} \, dx=\int \frac {1}{\cos \left (e+f\,x\right )\,\sqrt {\frac {3}{\cos \left (e+f\,x\right )}+2}\,\sqrt {\frac {5}{\cos \left (e+f\,x\right )}-4}} \,d x \]
[In]
[Out]